﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OA.Service.Model
{
    /// <summary>
    /// 站点权限验证
    /// </summary>
    [System.Xml.Serialization.XmlRoot(XmlRootName)]
    public class ValidateWebSiteAuthorityRequest : BaseReqeust<BaseResponse>
    {
        public ValidateWebSiteAuthorityRequest()
            : base("ValidateWebSiteAuthority")
        {
        }
        /// <summary>
        /// 账号名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 站点编号
        /// </summary>
        public string WebSiteCode { get; set; }

    }
    /// <summary>
    /// 权限验证
    /// </summary>
    [System.Xml.Serialization.XmlRoot(XmlRootName)]
    public class ValidateMenuAuthorityRequest : BaseReqeust<BaseResponse>
    {
        public ValidateMenuAuthorityRequest()
            : base("ValidateMenuAuthority")
        {
        }

        /// <summary>
        /// 账号名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 站点编号
        /// </summary>
        public string WebSiteCode { get; set; }

        /// <summary>
        /// 菜单编号
        /// </summary>
        public string MenuCode { get; set; }

    }
    /// <summary>
    /// 权限验证
    /// </summary>
    [System.Xml.Serialization.XmlRoot(XmlRootName)]
    public class ValidateButtonAuthorityRequest : BaseReqeust<BaseResponse>
    {
        public ValidateButtonAuthorityRequest()
            : base("ValidateButtonAuthority")
        {
        }
        /// <summary>
        /// 账号名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 站点编号
        /// </summary>
        public string WebSiteCode { get; set; }

        /// <summary>
        /// 菜单编号
        /// </summary>
        public string MenuCode { get; set; }

        /// <summary>
        /// 权限编号
        /// </summary>
        public string ButtonCode { get; set; }

    }
}